package com.tanhua.dubbo.api;

import com.tanhua.domain.vo.PageResult;

public interface FriendApi {
    /**
     * 添加好友
     * @param userId1 用户id1
     * @param userId2 用户id2
     */
    void addFriend(Long userId1, Long userId2);

    PageResult findFriendList(Long userId, int page, int pagesize);

    void deleteById(Long userId, Long fansId);
}